﻿@using XStudio.XCRF.Data.Entities.CureInfo
@model CureInfo
<table>
    <tr>
        <th>舌色：</th>
        <td>@Html.TongueColorEditorFor(model => model.TongueColor)</td>
        <td>
        @{if((byte)Model.TongueColor == 9){ 
              <input id = "TongueColorOther" name = "TongueColorOther" type="text" value="@(Model.TongueColorOther)" />
          }
          else
          {
              <input id = "TongueColorOther" name = "TongueColorOther" type="text" style = "display:none;" value="@(Model.TongueColorOther)" />
          }
          }
        </td>
    </tr>
    <tr>
        <th>舌形：</th>
        <td>@Html.TongueShapeEditorFor(model => model.TongueShape)</td>
        <td>
        @{if((byte)Model.TongueShape == 6){ 
              <input id = "TongueShapeOther" name = "TongueShapeOther" type="text" value="@(Model.TongueShapeOther)" />
          }
          else
          {
              <input id = "TongueShapeOther" name = "TongueShapeOther" type="text" style = "display:none;" value="@(Model.TongueShapeOther)" />
          }
          }
        </td>
    </tr>
    <tr>
        <th>舌态：</th>
        <td>@Html.TongueStatusEditorFor(model => model.TongueStatus)</td>
        <td>
        @{if ((byte)Model.TongueStatus == 8)
          { 
              <input id = "TongueStatusOther" name = "TongueStatusOther" type="text" value="@(Model.TongueStatusOther)" />
          }
          else
          {
              <input id = "TongueStatusOther" name = "TongueStatusOther" type="text" style = "display:none;" value="@(Model.TongueStatusOther)" />
          }
          }
        </td>
    </tr>
    <tr>
        <th>苔质：</th>
        <td>@Html.FurCharacterEditorFor(model => model.FurCharacter)</td>
        <td>
        @{if ((byte)Model.FurCharacter == 8)
          { 
              <input id = "FurCharacterOther" name = "FurCharacterOther" type="text" value="@(Model.FurCharacterOther)" />
          }
          else
          {
              <input id = "FurCharacterOther" name = "FurCharacterOther" type="text" style = "display:none;" value="@(Model.FurCharacterOther)" />
          }
          }
        </td>
    </tr>
    <tr>
        <th>苔色：</th>
        <td>@Html.FurColorEditorFor(model => model.FurColor)</td>
        <td>
        @{if ((byte)Model.FurColor == 4)
          { 
              <input id = "FurColorOther" name = "FurColorOther" type="text" value="@(Model.FurColorOther)" />
          }
          else
          {
              <input id = "FurColorOther" name = "FurColorOther" type="text" style = "display:none;" value="@(Model.FurColorOther)" />
          }
          }
        </td>
    </tr>
</table>